import { request } from './request'
 
// 修改
export function updateTimeService(data) {
  return request({
    url: `/mpi/com/timeset`,
    method: 'post',
    data
  })
}

// 获取artist列表
export function getGathersService(data) {
  return request({
    url: `/mpi/gather/topic`,
    method: 'get',
    data
  })
}

// 获取artist列表
export function getItemsService(data) {
  return request({
    url: `/mpi/gather/items`,
    method: 'get',
    data
  })
}

// 获取artist列表
export function getTopListService(data) {
  return request({
    url: `/mpi/gather/toplist`,
    method: 'get',
    data
  })
}

// 用户头像
export function getTopShareService(data) {
  return request({
    url: `/mpi/usr/top_share`,
    method: 'get',
    data
  })
}

// 获取artist列表
export function getGather(data) {
  return request({
    url: `/mpi/gather/detail`,
    method: 'get',
    data
  })
}

// 获取artist列表
export function setGatherService(data) {
  return request({
    url: `/mpi/gather/op_detail`,
    method: 'post',
    data
  })
}

// 获取artist列表
export function getSearchService(data) {
  return request({
    url: `/mpi/com/search`,
    method: 'get',
    data
  })
}

// 获取artist列表
export function uploadImageService(data) {
  return request({
    url: `/mpi/usr/upload_image`,
    method: 'post',
    data
  })
}

export function crossCloudMusic(data) {
  return request({
    url: `/mpi/com/cross`,
    method: 'post',
    data
  })
}

export function addItem2GatherService(data) {
  return request({
    url: `/mpi/gather/add_item`,
    method: 'post',
    data
  })
}

export function getMusicService(data) {
  return request({
    url: `/mpi/com/music`,
    method: 'get',
    data
  })
}


export function getRandomService(data) {
  return request({
    url: `/mpi/com/random`,
    method: 'get',
    data
  })
}